require('es6-promise').polyfill();
// import es6promise from 'es6-promise'
// es6promise.polyfill()
// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import $ from 'jquery'

Vue.config.productionTip = false

// 使控制台 可以使用$
// window.$ = $ 

// $.get('http://192.168.2.252:8000/TP-webpack/index.php', function (data) {
//   console.log(data)
//   $('body>div').replaceWith(data)
//    eslint-disable no-new
//   new Vue({
//     el: '#app',
//     router,
//     template: '<App/>',
//     components: { App }
//   })

//   console.log('debug')
// })
// console.log(App)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App },
  // render: h => h(App)
})

